public class TestApi {

    public static void main(String[] args) {
        StudentDao stuDao = new StudentDao();

//        stuDao.add(new Student(19,"bbb"));
        System.out.println(stuDao.list());
//        System.out.println(stuDao.get(2).getName());


//        stuDao.add(new Student(18,"aaa"));
//        stuDao.update(new Student(19,"aaa",1));
//        stuDao.delete(1);
    }
}
